import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:osc/res/dimens.dart';

class MyTextStyle {
  //size
  static const _TEXT_SIZE_PAGE_TITLE = Dimens.font_sp16;
  static const _TEXT_SIZE_PAGE_CONTENT = Dimens.font_sp14;
  static const _TEXT_SIZE_TAB_TITLE = Dimens.font_sp16;
  static const _TEXT_SIZE_TWEET_DATE = Dimens.font_sp14;
  static const _TEXT_SIZE_TWEET_CONTENT = Dimens.font_sp14;
  static const _TEXT_SIZE_LIST_TITLE = Dimens.font_sp14;
  static const _TEXT_SIZE_LIST_USER_NAME = Dimens.font_sp14;
  static const _TEXT_SIZE_LIST_BODY = Dimens.font_sp12;
  static const _TEXT_SIZE_LIST_BOTTOM = Dimens.font_sp10;
  static const _TEXT_SIZE_TAG_LIST_BUTTON = Dimens.font_sp12;
  static const _TEXT_SIZE_BUTTON = Dimens.font_sp12;
  static const _TEXT_SIZE_SHEET_BUTTON = Dimens.font_sp14;
  static const _TEXT_SIZE_DETAIL_TITLE = Dimens.font_sp16;
  static const _TEXT_SIZE_LIST_DATE = Dimens.font_sp10;
  static const _TEXT_SIZE_COMMENT_TEXT_FIELD = Dimens.font_sp12;



  static const _TEXT_COLOR_PAGE_TITLE = Colors.black;
  static const _TEXT_COLOR_PAGE_CONTENT = Colors.black87;
  static const _TEXT_COLOR_TAB_TITLE = Colors.black54;
  static const _TEXT_COLOR_TWEET_DATE = Colors.black54;
  static const _TEXT_COLOR_TWEET_CONTENT = Colors.black87;
  static const _TEXT_COLOR_LIST_TITLE = Colors.black;
  static const _TEXT_COLOR_LIST_USER_NAME = Colors.black;
  static const _TEXT_COLOR_LIST_BODY = Colors.black54;
  static const _TEXT_COLOR_LIST_BOTTOM = Colors.black26;
  static const _TEXT_COLOR_LIST_TITLE_READ = Colors.black54;
  static const _TEXT_COLOR_LIST_ACTIVITY_ORIGIN = Colors.green;
  static const _TEXT_COLOR_TAG_LIST_BUTTON = Colors.white;
  static const _TEXT_COLOR_SHEET_BUTTON = Colors.blue;
  static const _TEXT_COLOR_BUTTON = Colors.white;
  static const _TEXT_COLOR_DETAIL_TITLE = Colors.black;
  static const _TEXT_COLOR_DETAIL_SUB_TITLE = Colors.black54;
  static const _TEXT_COLOR_LIST_DATE = Colors.black26;
  static const _TEXT_COLOR_HINT = Colors.black26;

  static const TextStyle LIST_TITLE = TextStyle(
      color: _TEXT_COLOR_LIST_TITLE,
      fontSize: _TEXT_SIZE_LIST_TITLE,
      fontWeight: FontWeight.bold,
  );

  static const TextStyle LIST_TITLE_READ = TextStyle(
    color: _TEXT_COLOR_LIST_TITLE_READ,
    fontSize: _TEXT_SIZE_LIST_TITLE,
    fontWeight: FontWeight.bold,
  );

  static const TextStyle USER_LIST_TITLE = TextStyle(
    color: _TEXT_COLOR_LIST_TITLE,
    fontSize: _TEXT_SIZE_LIST_TITLE,
  );

  static const TextStyle LIST_BODY = TextStyle(
    color: _TEXT_COLOR_LIST_BODY,
    fontSize: _TEXT_SIZE_LIST_BODY,
  );

  static const TextStyle LIST_BOTTOM = TextStyle(
    color: _TEXT_COLOR_LIST_BOTTOM,
    fontSize: _TEXT_SIZE_LIST_BOTTOM,
  );

  static const TextStyle LIST_TAG_BUTTON = TextStyle(
    color: _TEXT_COLOR_TAG_LIST_BUTTON,
    fontSize: _TEXT_SIZE_TAG_LIST_BUTTON,
  );

  static const TextStyle TWEET_CONTENT = TextStyle(
    color: _TEXT_COLOR_TWEET_CONTENT,
    fontSize: _TEXT_SIZE_TWEET_CONTENT,
  );

  static const TextStyle TWEET_CONTENT_SPECIAL_TEXT = TextStyle(
    color: Colors.green,
    fontSize: _TEXT_SIZE_TWEET_CONTENT,
  );

  static const TextStyle TOPIC_JOIN_COUNT_TEXT = TextStyle(
    color: Colors.white,
    fontSize: _TEXT_SIZE_TWEET_CONTENT,
    fontWeight: FontWeight.bold,
  );

  static const TextStyle TOPIC_DESC_TEXT = TextStyle(
    color: Colors.white,
    fontSize: _TEXT_SIZE_LIST_BODY,
  );

  static const TextStyle HINT = TextStyle(
    color: _TEXT_COLOR_HINT,
    fontSize: _TEXT_SIZE_LIST_TITLE,
  );

  static const TextStyle QUESTION_INPUT_TITLE_HINT = TextStyle(
    color: _TEXT_COLOR_HINT,
    fontSize: _TEXT_SIZE_PAGE_TITLE,
  );
  static const TextStyle QUESTION_INPUT_TITLE = TextStyle(
    color: _TEXT_COLOR_PAGE_TITLE,
    fontSize: _TEXT_SIZE_PAGE_TITLE,
  );
  static const TextStyle QUESTION_INPUT_CONTENT_HINT = TextStyle(
    color: _TEXT_COLOR_HINT,
    fontSize: _TEXT_SIZE_PAGE_CONTENT,
  );
  static const TextStyle QUESTION_INPUT_CONTENT = TextStyle(
    color: _TEXT_COLOR_PAGE_CONTENT,
    fontSize: _TEXT_SIZE_PAGE_CONTENT,
  );

  static const TextStyle SHEET_BUTTON = TextStyle(
    color: _TEXT_COLOR_SHEET_BUTTON,
    fontSize: _TEXT_SIZE_SHEET_BUTTON,
  );

  /// 讨论-评论内容
  static const TextStyle LIST_ACTIVITY_CONTENT = TextStyle(
    color: _TEXT_COLOR_LIST_TITLE,
    fontSize: _TEXT_SIZE_LIST_BODY,
  );
  /// 讨论-引用类型
  static const TextStyle LIST_ACTIVITY_TYPE = TextStyle(
    color: _TEXT_COLOR_LIST_BODY,
    fontSize: _TEXT_SIZE_LIST_BODY,
  );
  /// 讨论-引用标题
  static const TextStyle LIST_ACTIVITY_ORIGIN = TextStyle(
    color: _TEXT_COLOR_LIST_ACTIVITY_ORIGIN,
    fontSize: _TEXT_SIZE_LIST_BODY,
  );

  static const TextStyle DETAIL_TITLE = TextStyle(
    color: _TEXT_COLOR_DETAIL_TITLE,
    fontSize: _TEXT_SIZE_DETAIL_TITLE,
    fontWeight: FontWeight.bold,
  );
  static const TextStyle DETAIL_SUB_TITLE = TextStyle(
    color: _TEXT_COLOR_DETAIL_SUB_TITLE,
    fontSize: _TEXT_SIZE_DETAIL_TITLE,
  );

  /// 评论-引用类型
  static const TextStyle COMMENT_REFER_AUTHOR = TextStyle(
    color: _TEXT_COLOR_LIST_BODY,
    fontSize: _TEXT_SIZE_LIST_BODY,
  );
  /// 评论-引用排序
  static const TextStyle COMMENT_REFER_INDEX = TextStyle(
    color: _TEXT_COLOR_LIST_DATE,
    fontSize: _TEXT_SIZE_LIST_BODY,
  );
  /// 评论-引用类型
  static const TextStyle COMMENT_REFER_TIME = TextStyle(
    color: _TEXT_COLOR_LIST_DATE,
    fontSize: _TEXT_SIZE_LIST_DATE,
  );

  ///checkbox
  static const TextStyle CHECKBOX_CHECKED = TextStyle(
    color: Colors.green,
    fontSize: _TEXT_SIZE_LIST_TITLE,
  );
  ///checkbox
  static const TextStyle CHECKBOX_UNCHECKED = TextStyle(
    color: _TEXT_COLOR_LIST_DATE,
    fontSize: _TEXT_SIZE_LIST_TITLE,
  );


  ///BUTTON
  static const TextStyle BUTTON = TextStyle(
    color: _TEXT_COLOR_BUTTON,
    fontSize: _TEXT_SIZE_BUTTON,
  );

  static const TextStyle GREEN_BUTTON = TextStyle(
    color: Colors.green,
    fontSize: _TEXT_SIZE_BUTTON,
  );

  static const TextStyle BLACK_BUTTON = TextStyle(
    color: Colors.black87,
    fontSize: _TEXT_SIZE_BUTTON,
  );

  static const TextStyle TEXT_FIELD_COMMENT_HINT = TextStyle(
    color: _TEXT_COLOR_HINT,
    fontSize: _TEXT_SIZE_COMMENT_TEXT_FIELD,
  );
  static const TextStyle TEXT_FIELD_COMMENT = TextStyle(
    color: _TEXT_COLOR_LIST_TITLE,
    fontSize: _TEXT_SIZE_COMMENT_TEXT_FIELD,
  );

  static const TextStyle TWEET_SELECT_USER_NAME = TextStyle(
    color: Colors.white,
    fontSize: _TEXT_SIZE_LIST_TITLE,
  );
}
